package com.jrx.anytxn.transaction.dto.manuallyTransaction;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jrx.anytxn.i18n.annotation.ConvertField;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 手工交易订单列表返回
 *
 * @author : zhenghaopu
 * 2020/1/16
 */
public class LoanOrderRes implements Serializable {
    /**
     * 订单号
     */
    private String loanId;
    /**
     * 渠道号
     */
    private String channel;
    /**
     * 渠道名称
     */
    private String channelName;
    /**
     * 客户id
     */
    private String customerId;
    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 贷款金额
     */
    private BigDecimal loanAmount;
    /**
     * 期数
     */
    private Integer totalTenor;
    /**
     * 贷款日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd" )
    private Date postingDate;
    /**
     * 状态
     */
    private String accountStatus;

    public String getLoanId() {
        return loanId;
    }

    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public BigDecimal getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(BigDecimal loanAmount) {
        this.loanAmount = loanAmount;
    }

    public Integer getTotalTenor() {
        return totalTenor;
    }

    public void setTotalTenor(Integer totalTenor) {
        this.totalTenor = totalTenor;
    }

    public Date getPostingDate() {
        return postingDate;
    }

    public void setPostingDate(Date postingDate) {
        this.postingDate = postingDate;
    }

    public String getAccountStatus() {
        return accountStatus;
    }

    public void setAccountStatus(String accountStatus) {
        this.accountStatus = accountStatus;
    }
}
